package top.melody.ecommerce.webapps.console.base;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import top.melody.ecommerce.platform.api.domain.system.SecurityUser;

/**
 * @author: blentle
 * @group: rd
 * @createdate: 2016/10/26 14:27
 * @mail: blentle.huan.ren@gmail.com
 * @description:
 * @since:1.0
 */
public class SecurityUserSession {

    private static final Logger logger = LoggerFactory.getLogger(SecurityUserSession.class);

    private SecurityUser securityUser;
    //密码明文
    private String password;

    public SecurityUserSession() {

    }

    public SecurityUserSession(SecurityUser securityUser, String password) {
        this.securityUser = securityUser;
        this.password = password;
    }

    public static Logger getLogger() {
        return logger;
    }

    public SecurityUser getSecurityUser() {
        return securityUser;
    }

    public void setSecurityUser(SecurityUser securityUser) {
        this.securityUser = securityUser;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
